using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;using Maxleaf.EDI.Domain.K3;

namespace Maxleaf.EDI.DataAccess.K3
{
    public class t_BillLockTableMap : EntityTypeConfiguration<t_BillLockTable>
    {
        public t_BillLockTableMap()
        {
            // Primary Key
            this.HasKey(t => t.FID);

            // Properties
            this.Property(t => t.FID)
                .HasDatabaseGeneratedOption(DatabaseGeneratedOption.None);

            // Table & Column Mappings
            this.ToTable("t_BillLockTable");
            this.Property(t => t.FID).HasColumnName("FID");
            this.Property(t => t.FType).HasColumnName("FType");
        }
    }
}
